FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER kaiwotech@gmail.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /kw-monitor

WORKDIR /kw-monitor

EXPOSE 5001

ADD ./kw-visual/kw-monitor/target/kw-monitor.jar ./

CMD java -Djava.security.egd=file:/dev/./urandom -jar kw-monitor.jar
